//
//  HiDateView.h
//  HiCar
//
//  Created by huachun on 2019/1/11.
//  Copyright © 2019 丁一. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^HiDateBlock)(NSString *date,NSDate *userdate);

typedef void(^HiDatehideBlock)();

@interface HiDateView : UIView

@property (nonatomic, strong) UIDatePicker *datePicker;
@property (nonatomic, strong) UIButton *buttonbg;
@property (nonatomic, strong) UIButton *buttondone;

@property (nonatomic, copy)HiDateBlock selectblock;
@property (nonatomic, copy)HiDatehideBlock hideblock;

-(instancetype)initWithFrame:(CGRect)frame type:(NSInteger)type;

@end

NS_ASSUME_NONNULL_END
